-- GENERATED SPELL FOR [Frigid Abomination] --


function spell0_33704(pUnit, Event) --@Cleave,n/a--
pUnit:FullCastSpellOnTarget(40504,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_33704', 690, 1)
end

function Sorts_33704(pUnit, Event)
local choix_sorts_33704 = math.random(0, 0)
if choix_sorts_33704 == 0 then
pUnit:RegisterEvent('spell0_33704', 1, 1)
end
end

function mob33704_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_33704', math.random(1500, 3000), 1)
end

function mob33704_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob33704_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob33704_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(33704, 1, 'mob33704_Action')
RegisterUnitEvent(33704, 2, 'mob33704_Leave')
RegisterUnitEvent(33704, 3, 'mob33704_Kill')
RegisterUnitEvent(33704, 4, 'mob33704_Die')
